package com.learncloud.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.learncloud.entity.VideoLabel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 标签表 Mapper 接口
 * </p>
 *
 * @author yj
 */
public interface VideoLabelMapper extends BaseMapper<VideoLabel> {

    List<VideoLabel> findByParentIds(@Param("list") List<Integer> list);

    List<VideoLabel> getLabelVoList(@Param("videoLabel") VideoLabel videoLabel, @Param("categoryId") Integer categoryId);
}
